package com.alibaba.dubbo.registry.common.domain;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author xuchangyue
 */
public class ApplicationIPs extends Entity {

    private static final long serialVersionUID = 3281776183759506645L;

    public static final Integer PROVIDER = 1;
    public static final Integer CONSUMER = 2;
    public static final Integer PROVIDER_CONSUMER = 3;

    private String application;      /*服务名*/

    /*服务类型1: provider, 2: consumer, 3: both*/
    private List<Map<String, Object>> ips;         /*消费者地址*/ 

    public String getApplication() {
        return application;
    }

    public void setApplication(String application) {
        this.application = application;
    }

    public List<Map<String, Object>> getIps() {
        return ips;
    }

    public void setIps(List<Map<String, Object>> ips) {
        this.ips = ips;
    }

}
